const login = function (account, pwd) {
    return `select * from lq_account t1 left join lq_userInfo t2 on t1.uid = t2.accountid where (t1.account = '${account}' or t2.phonenumber ='${account}' or t2.email = '${account}') 
and t1.pwd = '${pwd}' and isnull(t1.isclosed,0) = 0`
}

exports.login = login